<?php
header("Content-type:application/json; charset=UTF-8"); 
include "../connect.php";
$sql_new =mysql_query("
SELECT na.c_id,na.c_section,n.c_id,n.c_category,n.c_public,n.c_title,n.c_post_on
from smm_news_category na left join smm_news n on na.c_id = n.c_category 
where  na.c_section='woman' and n.c_public='1' order by rand() DESC limit 0,6");

while($rs=mysql_fetch_array($sql_new)){
	$divdata[]="".$rs[c_title]."</br>";
}
$datas=implode($divdata);
$json_data[data_other]=$datas;

echo json_encode($json_data);
?>